﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Project
{
    public partial class DForm : Form
    {
        public DForm()
        {
            InitializeComponent();
        }

        private void DForm_Load(object sender, EventArgs e)
        {
            FirstScreen.load(lbl_caption);
        }

        private void btn_settings_Click(object sender, EventArgs e)
        {
            FirstScreen.loadSettings();
        }

        private void btn_logout_Click(object sender, EventArgs e)
        {
            FirstScreen.logout(this);
        }

        private void btn_projects_Click(object sender, EventArgs e)
        {
            DProjectsForm form = new DProjectsForm();
            form.Show();
        }
    }
}
